package com.lagou.user.mapper;

import com.lagou.user.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserInfoMapper {

    public Integer registerUser(@Param("email") String email, @Param("password") String password);

    UserInfo getUserByEmail(@Param("email")String email);
}
